package com.miracle9.game.entity;

import javax.persistence.Entity;
import javax.persistence.Transient;

@Entity
public class Notice
  extends BaseEntity
{
  private String title;
  private String content;
  private String datetime;
  private String admin;
  private int rangeType;
  private int type;
  private String userId;
  @Transient
  private String rangeStr;
  
  public String getTitle()
  {
    return this.title;
  }
  
  public void setTitle(String title)
  {
    this.title = title;
  }
  
  public String getContent()
  {
    return this.content;
  }
  
  public void setContent(String content)
  {
    this.content = content;
  }
  
  public String getDatetime()
  {
    return this.datetime;
  }
  
  public void setDatetime(String datetime)
  {
    this.datetime = datetime;
  }
  
  public String getAdmin()
  {
    return this.admin;
  }
  
  public void setAdmin(String admin)
  {
    this.admin = admin;
  }
  
  public int getRangeType()
  {
    return this.rangeType;
  }
  
  public void setRangeType(int rangeType)
  {
    this.rangeType = rangeType;
  }
  
  public int getType()
  {
    return this.type;
  }
  
  public void setType(int type)
  {
    this.type = type;
  }
  
  public String getUserId()
  {
    return this.userId;
  }
  
  public void setUserId(String userId)
  {
    this.userId = userId;
  }
  
  public String getRangeStr()
  {
    return this.rangeStr;
  }
  
  public void setRangeStr(String rangeStr)
  {
    this.rangeStr = rangeStr;
  }
  
  public String toString()
  {
    return 
      "Notice [title=" + this.title + ", content=" + this.content + ", datetime=" + this.datetime + ", admin=" + this.admin + ", rangeType=" + this.rangeType + ", type=" + this.type + ", userId=" + this.userId + ", rangeStr=" + this.rangeStr + "]";
  }
}
